<template>
  <div>
    <p>
        我是测试params传参 --- {{ $route.params.id }}
    </p>
  </div>
</template>

<script>
export default {
    created() {
        console.log(this.$route)
    }
}
</script>

<style>

</style>